﻿using Demo.OrderService.Data;
using Demo.OrderService.Entities;
using Volo.Abp.DependencyInjection;
using Volo.Abp.Domain.Repositories.EntityFrameworkCore;
using Volo.Abp.EntityFrameworkCore;

namespace Demo.OrderService.Repositorys
{
    /// <summary>
    /// 订单模块仓储层
    /// </summary>
    [Dependency(ServiceLifetime.Singleton)]
    public class OrderRepoistory : EfCoreRepository<OrderServiceDbContext, ShopOrder, Guid>, IOrderRepoistory
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="dbContextProvider"></param>
        public OrderRepoistory(IDbContextProvider<OrderServiceDbContext> dbContextProvider) : base(dbContextProvider)
        {

        }
    }
}
